package com.rogchen.learning.hystrinxclient;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @author Rogchen  rogchen128@gmail.com
 * @description:
 * @product: IntelliJ IDEA
 * @create by 20-3-19 14:28
 **/
@FeignClient(value = "hystrix-server",fallback = DefaultFallback.class)
public interface HystrixServer {

    @RequestMapping("server")
    public Map getServer();
}
